package com.platform.qujia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.platform.qujia.pojo.PhysicalCardBalance;
import com.platform.qujia.pojo.dto.PhysicalCardSecretKeyDto;

/**
 * @date 2023/12/7
 */
public interface PhysicalCardBalanceService extends IService<PhysicalCardBalance> {

    /**
     * 储值卡微信充值
     * */
    PhysicalCardBalance physicalCardWxRecharge(PhysicalCardBalance physicalCardBalance);

    /**
     * 储值卡充值消费记录
     * */
    PhysicalCardBalance selectPhysicalCardBalance(PhysicalCardBalance physicalCardBalance);


    /**
     * 修改微信充值记录
     * */
    int updatePhysicalCardBalance(PhysicalCardBalance physicalCardBalance);

    /**
     * 添加充值/消费记录
     * */
    PhysicalCardSecretKeyDto addPhysicalCardBalance(PhysicalCardBalance physicalCardBalance);
}
